<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8">
<jsp:include page="../../WEB-INF/incl/htmlHeader.jsp" />
<title>Officer Maintenance | Cult Cinema Inc</title>
</head>
<body class="admin">
<script type="text/javascript">
	$(document).ready(function() {
		$('#startDate').calendricalDate();
	});
</script>
<jsp:include page="../../WEB-INF/incl/adminHeader.jsp" />
<div id="pageheader">
	<div class="container">
		<h1>Administration &gt; Officer Maintenance &gt; Edit Officer</h1>
	</div>
</div>
<div id="main" class="container">
	<div class="wrapper">
		<jsp:include page="../../WEB-INF/incl/messages.jsp" />
		<form method="post" action="/cinema/admin/officer/edit.do" class="cssform">
		<input type="hidden"   name="id" value="${requestScope.officer.id}" />
		<p>
			<label class="f_label" for="login"><fmt:message key="user.login" bundle="${uitext}" /></label> 
			<input type="text"   name="login" id="login" value="${requestScope.officer.login}" />
		</p>
		<p>
			<label class="f_label" for="firstName"><fmt:message key="user.firstname" bundle="${uitext}" /></label> 
			<input type="text"   name="firstName" id="firstName" value="${requestScope.officer.firstName}" />
		</p>
		<p><label class="f_label" for="lastName"><fmt:message key="user.lastname" bundle="${uitext}" /></label> <input type="text"  
			name="lastName" id="lastName" value="${requestScope.officer.lastName}"/></p>
		
		<p>
			<label class="f_label" for="appUserStatus"><fmt:message key="user.status" bundle="${uitext}" /></label> 
			Active:<input type="radio" name="appUserStatus" id="appUserStatus" value="APP_USER_ACTIVE" ${requestScope.officer.appUserStatus eq 'APP_USER_ACTIVE' ? 'checked="checked"' : ''} />
			Deleted:<input type="radio" name="appUserStatus" id="appUserStatus" value="APP_USER_DELETED" ${requestScope.officer.appUserStatus eq 'APP_USER_DELETED' ? 'checked="checked"' : ''} />
		</p>
		
		<p class="acts">
			<input type="submit" name="submit" id="submit" value="<fmt:message key="form.btn.save" bundle="${uitext}" />" class="text blue_btn">
			<a href="/cinema/admin/officer/list.do"><fmt:message key="form.btn.cancel" bundle="${uitext}" /></a>
		</p>
		</form>
	</div>
</div>
<jsp:include page="../../WEB-INF/incl/footer.jsp" />
</body>
</html>